package core;

import core.data.MeasuredValues;


public class CommandLine {

	public static void main(String[] args) {

//		Scanner in = new Scanner(System.in);
//
//		System.out.println("***************************************");
//		System.out.println("LAN");
//		System.out.println("***************************************");
//		System.out.println("Insira a media do tamanho dos pacotes: ");
//		double meanPacketSizeLAN = in.nextDouble();
//		System.out.println("Insira a media do intervalo entre os pacotes: ");
//		long meanPacketIntervalLAN = in.nextLong();
//		System.out.println("***************************************");

//		System.out.println("***************************************");
//		System.out.println("NET");
//		System.out.println("***************************************");
//		System.out.println("Insira a media do tamanho dos pacotes: ");
//		double meanPacketSizeNET = in.nextDouble();
//		System.out.println("Insira a media do intervalo entre os pacotes: ");
//		long meanPacketIntervalNET = in.nextLong();
//		System.out.println("***************************************");

//		in.close();

		
		//Teste de Bart:
		Starter.getInstance().start(
				MeasuredValues.MEAN_PACKET_SIZE_LAN, 
				MeasuredValues.MEAN_PACKET_SIZE_NET, 
				MeasuredValues.BART_BANDWIDTH, 
				MeasuredValues.FRIDAY_MEAN_INTERVAL_LAN, 
				MeasuredValues.FRIDAY_MEAN_INTERVAL_NET, 
				MeasuredValues.BART_MEMORY);

		//Teste do exemplo da aula 07, slides da pagina 7.
		//Starter.getInstance().start(
		//		1000 / 8, //1Kbits 
		//		1000 / 8, //1Kbits 
		//		50000 / 8, //50Kbps 
		//		1000 / 35, //35 pacotes/seg
		//		1000 / 35, //35 pacotes/seg
		//		1000000); //memoria suficiente
		
		
		
		// Starter.getInstance().start(meanPacketSizeLAN, meanPacketSizeNET,
		// variancePacketSizeLAN, variancePacketSizeNET, 100,
		// meanPacketIntervalLAN, meanPacketIntervalNET, 10000);

		// PacketScheduler lan = new PacketScheduler(meanPacketSizeLAN,
		// variancePacketSizeLAN, meanPacketIntervalLAN, SchedulerKind.LAN);
		// PacketScheduler lan = new PacketScheduler(10, 2, 31231,
		// SchedulerKind.LAN);

		// PacketScheduler net = new PacketScheduler(meanPacketSizeNET,
		// variancePacketSizeNET, meanPacketIntervalNET,
		// SchedulerKind.INTERNET);
		// PacketScheduler net = new PacketScheduler(16, 1, 60007,
		// SchedulerKind.INTERNET);

		// Router bart = new Router(2918898);
	}
}
